{yun:}include file="$userstyle/header.htm"{/yun}
<div class="yun_w1200">
    {yun:}include file="$userstyle/left.htm"{/yun}
    <div class="yun_m_rightbox fltR mt20 re">
       <div class="member_right_index_h1 fltL"> <span class="member_right_h1_span fltL">简历外发</span> <i class="member_right_h1_icon user_bg"></i></div>   
       <div class="resume_box_list">
        <div class="message_content" style="margin-top:0;">  
            <div id="" class="resume_fk_box" style="margin-top:0;">
            <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
                <form name="MyForm" onsubmit="return check_out();" target="supportiframe" action="index.php?c=resumeout&act=send" method="post" class="layui-form">
                  <div class="yun_send_resume_list">
                  <div class="yun_send_resume_list_name"><span class="yun_send_resume_list_x">*</span>将要发送的简历：</div>
                  <div class="yun_send_resume_list_right" >
                    <div class="layui-form-item">
                      <div class="layui-input-inline">
                        <select lay-filter="resume" id="resumeallid">
                        <option value="">请选择简历</option>
                        {yun:}foreach from=$rows item=resume{/yun}
                        <option value="{yun:}$resume.id{/yun}-{yun:}$resume.name{/yun}">{yun:}$resume.name{/yun}</option>
                        {yun:}/foreach{/yun}
                        </select>
                        <input type="hidden" id="resumeid" name="resume" value="" />
                        <input type="hidden" id="resumename" name="resumename" value="" />
                      </div>
                    </div>
                  </div>
                  </div>
                  <div class="yun_send_resume_list">
                    <div class="yun_send_resume_list_name"> <span class="yun_send_resume_list_x">*</span>企业的邮箱地址：</div>
                    <div class="yun_send_resume_list_right">
                    <input type="text" class="yun_send_resume_txt" id="email" name="email" value="">
                    </div>
                  </div>
                  <div class="yun_send_resume_list">
                    <div class="yun_send_resume_list_name"><span class="yun_send_resume_list_x">*</span>应聘的企业名称：</div> 
                    <div class="yun_send_resume_list_right" >
                    <input type="text" class="yun_send_resume_txt" id="comname" name="comname" value="" maxlength="20"><i>（限20字）</i>
                    </div>
                  </div>
                  <div class="yun_send_resume_list">
                    <div class="yun_send_resume_list_name"><span class="yun_send_resume_list_x">*</span>应聘的职位名称：</div>
                    <div class="yun_send_resume_list_right" >
                    <input type="text" class="yun_send_resume_txt" id="jobname" name="jobname" value="" maxlength="20"><i>（限20字）</i>
                    </div>
                  </div>
                  <div class="yun_send_resume_list">
                    <div class="yun_send_resume_list_name">&nbsp;</div> 
                    <div class="yun_send_resume_list_right" >
                    <input type="submit" name="submit" class="layui-btn layui-btn-normal" value="发送">
                    </div>
                  </div>
                </form>
            </div>
        </div>
        <div class="resumeout_tit mt40">
            <div class="resumeout_span resumeout_comname" >企业名称</div>
            <div class="resumeout_span resumeout_jobname" >职位名称</div>
            <div class="resumeout_span resumeout_pop" >接收人</div>
            <div class="resumeout_span resumeout_emil">邮箱</div>
            <div class="resumeout_span resumeout_xg">相关简历</div>
            <div class="resumeout_span resumeout_send" >发送时间</div>
            <div class="resumeout_span List_Title_w80" >操作</div>
        </div>
        {yun:}foreach from=$out item=item{/yun}
        <div class="resumeout_listbox">
            <div class="resumeout_span resumeout_comname" >{yun:}$item.comname{/yun}</div>
            <div class="resumeout_span resumeout_jobname" >{yun:}$item.jobname{/yun}</div>
            <div class="resumeout_span resumeout_pop" >{yun:}$item.recipient{/yun}</div>
            <div class="resumeout_span resumeout_emil">{yun:}$item.email{/yun}</div>
            <div class="resumeout_span resumeout_xg">{yun:}$item.resume{/yun}</div>
            <div class="resumeout_span resumeout_send" >{yun:}$item.datetime|date_format:"%Y-%m-%d"{/yun}</div>
            <div class="resumeout_span List_Title_w80" ><a href="javascript:void(0)" onclick="layer_del('确定要删除？','index.php?c=resumeout&act=del&id={yun:}$item.id{/yun}');" class="List_dete cblue"> 删除</a></div>
        </div>
        {yun:}foreachelse{/yun}
        <div class="msg_no">暂无简历外发信息！</div>
        {yun:}/foreach{/yun}
        <div class="diggg">{yun:}$pagenav{/yun}</div>
    </div>
</div></div>
<script>
layui.use(['layer', 'form'], function(){
    var layer = layui.layer
    ,form = layui.form
    ,$ = layui.$;
	form.on('select(resume)',function(data){
		var str=data.elem.value.split('-');
		$("#resumeid").val(str[0]);
		$("#resumename").val(str[1]);
	});
});</script>
{yun:}include file="$userstyle/footer.htm"{/yun}